package org.csu.wuliu.persistence;

import org.csu.wuliu.domain.MainWarehouse;
import org.csu.wuliu.domain.Request;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface MainWarehouseMapper {
    MainWarehouse getWarehouse(int WHID);

    List<Request> getRequestList();

    List<Request> getHistoryList();

    void agree(Request request);

    void reject(Request request);
}
